// 存取token

const key = 'geek-pc-key';

const setToken = (token) => {
  return localStorage.setItem(key, token);
};

const getToken = () => {
  return localStorage.getItem(key);
};

const removeToken = () => {
  return localStorage.removeItem(key);
};

export {
  setToken,
  getToken,
  removeToken
}
